<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
include('base.php');
class About extends Base 
{

	public function __construct()
	{
		$this->table_name = 'dy';
		$this->template = 'default/'; // 模板文件目录
		parent::__construct();
	}
	public function index()
	{
		$about = $this->uri->segment(3);
		//echo $about;
		$data['seo'] = $this->site['site'][0];
		$data['lanmu'] = $this->site['lanmu'];
		$data['show'] =  $this->page($this->table_name,array('biaoshi'=>$about));
		$data['category_type'] = $this->site['category_type'];
		//print_r($data['show']);exit;
		$this->load->view($this->template.'header',$data);
		$this->load->view($this->template.'page');
		$this->load->view($this->template.'footer');
		//print_r($this->site['site']);
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */